<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $title ?></title>
<link href="template/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="wrapper">
 <div class="logo"><a href="http://www.liangjing.org" target="_blank"><img src="template/logo.gif" alt="LJPHPCMS" title="LJPHPCMS" /></a></div>
 <div class="check">
  <h3><?php echo $_LANG['check_system'] ?></h3>
  <ul>
   <li><?php echo $_LANG['os'] ?>..................................................................<?php echo $sys_info['os'] ?></li>
   <li><?php echo $_LANG['web_server'] ?>......................................................<?php echo $sys_info['web_server'] ?></li>
   <li><?php echo $_LANG['php_version'] ?>..................................................................<?php echo $sys_info['php_ver'] ?></li>
   <li><?php echo $_LANG['mysql_version'] ?>..................................................................<?php echo $sys_info['mysql_ver'] ?></li>
   <li><?php echo $_LANG['socket'] ?>..................................................................<?php echo $sys_info['socket'] ?></li>
   <li><?php echo $_LANG['timezone'] ?>..................................................................<?php echo $sys_info['timezone'] ?></li>
   <li><?php echo $_LANG['gd_version'] ?>..................................................................<?php echo $sys_info['gd'] ?></li>
   <li><?php echo $_LANG['zlib'] ?>..................................................................<?php echo $sys_info['zlib'] ?></li>
  </ul>
  <h3><?php echo $_LANG['check_dir'] ?></h3>
  <ul>
   <?php foreach ($writeable_dir as $key => $value) { ?>
   <li><?php echo $key ?>..................................................................<?php echo $value ?></li>
   <?php } ?>
  </ul>
  <p class="action">
  <input type="button" class="btnGray" value="<?php echo $_LANG['back'] ?>" onclick="location.href='index.php?step=welcome'"/>
  <?php if ($no_write) { ?>
  <input type="submit" class="btnGray" value="<?php echo $_LANG['next'] ?>" onclick="location.href='index.php?step=setting'" disabled="true"/>
  <?php } else { ?>
  <input type="submit" class="btn" value="<?php echo $_LANG['next'] ?>" onclick="location.href='index.php?step=setting'"/>
  <?php } ?>
  </p>
 </div>
</div>
</body>
</html>